function deleteAuction(auctionId, delType) {
	if (confirm('Stergeti aceasta licitatie? \n (STERGEREA LICITATIEI INAINTE DE A SE TERMINA\n'+
		' SE VA CONSIDERA ANULATA SI VA DECLANSA\n'+' RESTITUIREA CREDITELOR FOLOSITE)')) {
		window.location.href = 'processAuction.php?action=deleteAuction&auctionId=' + auctionId + '&delType=' + delType;
	}
}

function suspendAuction(auctionId) {
	window.location.href = 'processAuction.php?action=suspendAuction&auctionId=' + auctionId;
}

function resumeAuction(auctionId) {
	window.location.href = 'processAuction.php?action=resumeAuction&auctionId=' + auctionId;
}

function renewAuction(auctionId) {
	window.location.href = 'processAuction.php?action=renewAuction&auctionId=' + auctionId;
}
